<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@taglib prefix="p" uri="http://primefaces.prime.com.tr/ui"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view>
	<html xmlns="http://www.w3.org/1999/xhtml"
		xmlns:f="http://java.sun.com/jsf/core"
		xmlns:h="http://java.sun.com/jsf/html"1.2
		xmlns:p="http://primefaces.prime.com.tr/ui">1.1
	<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title><h:outputText
		value="#{message.mainHeader} - #{message.adminControlPanelHeader}" /></title>

	<p:resources />

	<link rel="stylesheet" type="text/css" href="../style.css" />	
	<style type="text/css">
	.matrix { font-family:Lucida Console, Courier, Monotype; font-size:15pt; text-align:center; width:12px; padding:0px; margin:0px;}
	</style>
	<script src="../matrix.js" type="text/javascript"></script>

	</head>
	<body><center>
	<h:panelGrid  width="900" border="0" columns="2" >
		<h:panelGroup style="width: %70;">
		 <h:graphicImage value="../images/dunya.png"></h:graphicImage>
		 
		</h:panelGroup>
		<h:panelGroup><div id="matrix">SANAL KITAPLIK</div></h:panelGroup>
	</h:panelGrid>	<h:form id="adminControlMenu">
	<h:panelGrid  width="900" border="0" columns="1" >
		<h:panelGroup>
			<p:menubar>
				<p:submenu label="#{message.logoutLabel}">
				</p:submenu>
				<p:submenu label="#{message.manageAccount}">
				</p:submenu>
				<p:submenu label="#{message.manageAdmins}">
				</p:submenu>
				<p:submenu label="#{message.manageUsers}">
				</p:submenu>
			</p:menubar>
		</h:panelGroup>
		</h:panelGrid>	
		<h:panelGrid  width="900" border="0" columns="1"  style="background-image:url('../images/seffaf.png');text-align:center;">	
				<h:commandLink id="manageAccount">
				<h:outputLabel value="#{message.manageAccount}" />
			</h:commandLink>
			<h:commandLink id="manageAdmins">
				<h:outputLabel value="#{message.manageAdmins}" />
			</h:commandLink>
			<h:commandLink id="manageUsers">
				<h:outputLabel value="#{message.manageUsers}" />
			</h:commandLink>
			<h:commandLink id="logout" action="#{AdminManagerBean.logOut}">
				<h:outputLabel value="#{message.logoutLabel}" />
			</h:commandLink>
		</h:panelGrid>
	</h:form>
</center>	
	</body>
	</html>
</f:view>